<template>
	<div>
		<van-submit-bar :price="num*100" button-text="提交订单" @submit="onSubmit" style="margin-bottom: 3.125rem;">
			<van-checkbox v-model="checked">全选</van-checkbox>
		</van-submit-bar>
	</div>
</template>

<script>
	export default {
		props: {
			num: {
				type:Number,
				required:true
			}
		},
		data() {
			return {
				checked: false
			}
		},
		created() {
			console.log(this.num,'num')
		},
		
		methods: {
			onSubmit() {
				// console.log(this.num, '0000000')
				// console.log(this._data.price/100)
			},
		}
	}
</script>

<style>
</style>
